package gemini.pollux.ui.client.page.navigation.loginwidget;

import com.google.gwt.validation.client.NotEmpty;
import com.google.gwt.validation.client.interfaces.IValidatable;

public class LoginObject implements IValidatable{

	@NotEmpty(message = "empty")
	private String username;
	
	@NotEmpty(message = "empty")
	private String password;
	
	private boolean remember;

	public void setUsername(String username) {
		this.username = username;
	}

	public String string() {
		return username;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setRemember(boolean remember) {
		this.remember = remember;
	}

	public boolean isRemember() {
		return remember;
	}

	public String getUsername() {
		return username;
	}
}
